package other

import (
	"zstackgo/pkg/header/message"
)

type Result struct {
	ResourceUuid string
	ResourceType string
}

// maybe: resourceType reflect.Type
func NewResult(resourceUuid string, resourceType string) *Result {
	return &Result{
		ResourceUuid: resourceUuid,
		ResourceType: resourceType,
	}
}

type APIAuditor interface {
	Audit(msg message.APIMessage, rsp message.APIEvent) *Result
}
